package com.jzt.jk.open.api.manage.infrastructure.repository.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jzt.jk.open.api.manage.infrastructure.repository.po.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 作者：lizw <br/>
 * 创建时间：2021/01/21 10:25 <br/>
 */
@Repository
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> findByUidAndScope(@Param("uid") String uid, @Param("scope") Integer scope);
}
